<?


function CargarDatosGmailControles($subject)
{    
    $mailfunction = new PHPMailer();
    
    $mailfunction->IsSMTP();
    $mailfunction->SMTPAuth = true;
    $mailfunction->SMTPSecure = "ssl";
     //$mailfunction->Host = SMTP_HOST; // SMTP servers
     //$mailfunction->Port = SMTP_PORT; 
    $mailfunction->Mailer = "smtp"; 
    $mailfunction->Host = "smtp.gmail.com";
    //$mailfunction->Host = "ssl://smtp.gmail.com";//23-7-12
    $mailfunction->Port = 465;
    $mailfunction->Username = "controlesyseguimiento@gmail.com";
    $mailfunction->Password = "fabiohernan";
    ///
    $mailfunction->SMTPKeepAlive = true;  
    $mailfunction->From = "controlesyseguimiento@gmail.com";
    $mailfunction->FromName = "CelososyCelosas ";
    $mailfunction->Subject = $subject;
    $mailfunction->AltBody = "Control y seguimiento online\nxxxx.";
    $mailfunction->Timeout=20;    
    return $mailfunction;
}

function CargarDatosHotmailControles($subject)
{
    $mailfunction = new PHPMailer();
    
    $mailfunction->IsSMTP();
    $mailfunction->SMTPAuth = true;
    $mailfunction->SMTPSecure = "tls";
    //$mailfunction->Mailer = "smtp";       //DEBUG 17/9/12 
    $mailfunction->Host = "smtp.live.com";
    $mailfunction->Port = 587;
    $mailfunction->Username = "celososycelosas@hotmail.com";
    $mailfunction->Password = "fabiohernan1";
    ///
    //$mailfunction->SMTPKeepAlive = true;  //DEBUG 17/9/12
    $mailfunction->From = "celososycelosas@hotmail.com";
    $mailfunction->FromName = "ControlesySeguimiento ";
    $mailfunction->Subject = $subject;
    $mailfunction->AltBody = "Control y seguimiento online\nxxxx.";
    $mailfunction->Timeout=20;    
    return $mailfunction;
}

function CargarDatosHorsetrackControles($subject,$strUser,$strPass)
{
    $mailfunction = new PHPMailer();
    
    $mailfunction->IsSMTP();
    $mailfunction->SMTPAuth = true;
    //$mailfunction->SMTPSecure = "ssl";
    //$mailfunction->Mailer = "smtp";       //DEBUG 17/9/12 
    $mailfunction->Host = "mail.horsetrack.com.ar";
    $mailfunction->Port = 25;
    $mailfunction->Username = $strUser;
    $mailfunction->Password = $strPass;
    ///
    //$mailfunction->SMTPKeepAlive = true;  //DEBUG 17/9/12
    $mailfunction->From = $strUser;
    $mailfunction->FromName = "ControlesySeguimiento ";
    $mailfunction->Subject = $subject;
    $mailfunction->AltBody = "Control y seguimiento online\nxxxx.";
    $mailfunction->Timeout=20;    
    return $mailfunction;
}
function CargarDatosGmailHS($subjectHS)
{    
    $mailfunction = new PHPMailer();
    
    $mailfunction->IsSMTP();
    $mailfunction->SMTPAuth = true;
    $mailfunction->SMTPSecure = "ssl";
     //$mailf->Host = SMTP_HOST; // SMTP servers
     //$mailf->Port = SMTP_PORT; 
    $mailfunction->Mailer = "smtp"; 
    $mailfunction->Host = "smtp.gmail.com";
    //$mailf->Host = "ssl://smtp.gmail.com";//23-7-12
    $mailfunction->Port = 465;
    $mailfunction->Username = "healthsolutionargentina@gmail.com";
    $mailfunction->Password = "fabiohernan";
    ///
    $mailfunction->SMTPKeepAlive = true;  
    $mailfunction->From = "healthsolutionargentina@gmail.com";
    $mailfunction->FromName = "Health Solution";
    $mailfunction->Subject = $subjectHS;
    $mailfunction->AltBody = "Historia Clinica Portable\n.";
    $mailfunction->Timeout=20;
    
    return $mailfunction;
}

function CargarDatosGmailDellasshops($Subject)
{    
    $mailfunction = new PHPMailer();
    
    $mailfunction->IsSMTP();
    $mailfunction->SMTPAuth = true;
    $mailfunction->SMTPSecure = "ssl";
     //$mailf->Host = SMTP_HOST; // SMTP servers
     //$mailf->Port = SMTP_PORT; 
    $mailfunction->Mailer = "smtp"; 
    $mailfunction->Host = "smtp.gmail.com";
    //$mailf->Host = "ssl://smtp.gmail.com";//23-7-12
    $mailfunction->Port = 465;
    $mailfunction->Username = "dellasshops@gmail.com";
    $mailfunction->Password = "fabioanto";
    ///
    $mailfunction->SMTPKeepAlive = true;  
    $mailfunction->From = "dellasshops@gmail.com";
    $mailfunction->FromName = "DellasShops";
    $mailfunction->Subject = $Subject;
    $mailfunction->AltBody = "Ropa de ultima Tendencia\n.";
    $mailfunction->Timeout=20;
        
    return $mailfunction;
}

function CargarDatosYahoo()
{
        $mailfunction = new PHPMailer();
    
    $mailfunction->IsSMTP();
    $mailfunction->SMTPAuth = true;
    $mailfunction->SMTPSecure = "ssl";
     //$mailf->Host = SMTP_HOST; // SMTP servers
     //$mailf->Port = SMTP_PORT; 
    $mailfunction->Mailer = "smtp"; 
    $mailfunction->Host = "smtp.yahoo.com";
    //$mailf->Host = "ssl://smtp.gmail.com";//23-7-12
    $mailfunction->Port = 587;
    $mailfunction->Username = "eu@yahoo.com";
    $mailfunction->Password = "fabioanto";
    ///
    $mailfunction->SMTPKeepAlive = true;  
    $mailfunction->From = "dellasshops@gmail.com";
    $mailfunction->FromName = "DellasShops";
    $mailfunction->Subject = "Ultimas Tendencias y Precios Increibles";
    $mailfunction->AltBody = "Ropa de ultima Tendencia\n.";
    $mailfunction->Timeout=20;
        
    return $mailfunction;
   
    
}

?>